﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FieldReporting.aspx.cs" MasterPageFile="~/Admin/Admin.Master" 
    Inherits="Votations.NSurvey.WebAdmin.FieldReporting" %>

<%@ Register TagPrefix="uc1" TagName="SurveyListControl" Src="UserControls/SurveyListControl.ascx" %>
<asp:content id="Content1" contentplaceholderid="ContentLinkAction" runat="server">
 <span class="action-span">
 <a href="ResultsReporting.aspx?SurveyID=<%=SurveyId %>"><%=GetPageResource("GraphicResultsReportHyperlink") %></a>  |
 <a href="FieldReporting.aspx?SurveyID=<%=SurveyId %>"><%=GetPageResource("TextFieldsResultsReportHyperlink") %></a>  |
 <a href="ResultsCrossTabulation.aspx?SurveyID=<%=SurveyId %>"> <%=GetPageResource("CrossTabResultsReportHyperlink") %></a>|
<a href="ExportData.aspx?SurveyID=<%=SurveyId %>"><%=GetPageResource("ExportDataHyperlink") %></a>

</span>
</asp:content>
<asp:content id="Content2" contentplaceholderid="ContentTitle" runat="server">
</asp:content>
<asp:content id="Content3" contentplaceholderid="ContentMain" runat="server">

<LINK href="css/nsurveyadmin.css" type=text/css rel=stylesheet >
<TABLE class=Innertext>
        <TR>
          <TD colSpan=2>
            <table>
              <tr>
                <td noWrap width=380><font 
                  class=titleFont><asp:Literal id="FieldReportTitle" runat="server" EnableViewState="False">Field entries report - Page</asp:Literal> <asp:label id=CurrentPageLabel runat="server">1</asp:label>&nbsp;/ 
<asp:label id=TotalPagesLabel runat="server">1</asp:label></font></td>
                <td align=right><uc1:surveylistcontrol id=SurveyList runat="server"></uc1:surveylistcontrol></td></tr></table><IMG src="images/linebreak.gif" > </TD></TR>
        <TR>
          <TD>&nbsp;&nbsp; </TD>
          <TD>
            <TABLE class=Innertext>
              <tr>
                <td><asp:datagrid id=FieldReportDataGrid runat="server" AllowCustomPaging="True" BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" GridLines="Vertical" ForeColor="Black" onselectedindexchanged="ViewDetails">
<SelectedItemStyle Font-Bold="True" Wrap="False" ForeColor="White" BackColor="#000099">
</SelectedItemStyle>

<EditItemStyle Wrap="False">
</EditItemStyle>

<AlternatingItemStyle Wrap="False" BackColor="#F4F9FA">
</AlternatingItemStyle>

<ItemStyle Wrap="False" BackColor="white" Font-size="xx-small">
</ItemStyle>

<HeaderStyle Font-size="xx-small" Font-Bold="True" Wrap="False" ForeColor="White" BackColor="Black">
</HeaderStyle>

<FooterStyle Wrap="False" BackColor="#CCCCCC">
</FooterStyle>

<Columns>
<asp:ButtonColumn Text="Details" CommandName="Select"></asp:ButtonColumn>
<asp:ButtonColumn Text="Delete" CommandName="Delete"></asp:ButtonColumn>
</Columns>

<PagerStyle HorizontalAlign="Center" ForeColor="Black" BackColor="#999999" Wrap="False">
</PagerStyle>
</asp:datagrid><asp:linkbutton id=PreviousPageLinkButton runat="server" onclick="LoadPreviousPage"><< Previous page</asp:linkbutton>&nbsp;<asp:linkbutton id=NextPageLinkButton runat="server" onclick="LoadNextPage">Next page >></asp:linkbutton></td></tr></TABLE></TD></TR></TABLE>
</asp:content>
